#include "CThread.h"
#include "stdio.h"
#include <unistd.h>
class MThread:public CThread
{

	protected:
		void Run()
		{
			while(1)
			{
				printf("Thread");
				sleep(1);
			}

		}
};



int main()
{

	MThread t;

	t.Start();
		MThread thread;
		thread.Start();
	t.Start();
	
	while(1)
	{
		sleep(1);
		printf("fa\n");

	
	}
	return 1;

}
